<?php

namespace app\model;

use think\Model;

class Composition extends Model
{
    protected $connection = 'mysql';

    protected $pk = 'id';

    protected $name = 'composition';

    public function Goods()
    {
        return $this->hasMany(CompositionGoods::class, 'composition_id');
    }
}
